From cb6483d382e1529ba94cf3e597ee3fe116745c8b Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Feb 2014 13:39:53 -0500 Subject: [PATCH] docs: use apostrophe in *'d --- gtk/deprecated/gtkiconfactory.c | 4 ++-- gtk/gtkdialog.c | 4 ++-- gtk/gtkenums.h | 2 +- gtk/gtklayout.c | 2 +- gtk/gtktextiter.c | 2 +- gtk/gtktextview.c | 2 +- gtk/gtkwidget.c | 2 +- gtk/gtkwindow.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gtk/deprecated/gtkiconfactory.c b/gtk/deprecated/gtkiconfactory.c index b369004d8d..ba5199aa84 100644 --- a/gtk/deprecated/gtkiconfactory.c +++ b/gtk/deprecated/gtkiconfactory.c @@ -1026,7 +1026,7 @@ static guint cache_serial = 0; * some of the rendered #GdkPixbuf objects. * * Normally you would use gtk_widget_render_icon_pixbuf() instead of - * using #GtkIconSet directly. The one case where you'd use + * using #GtkIconSet directly. The one case where you’d use * #GtkIconSet is to create application-specific icon sets to place in * a #GtkIconFactory. * @@ -1736,7 +1736,7 @@ icon_source_compare (gconstpointer ap, gconstpointer bp) * This function copies @source, so you can reuse the same source immediately * without affecting the icon set. * - * An example of when you'd use this function: a web browser’s "Back + * An example of when you’d use this function: a web browser’s "Back * to Previous Page" icon might point in a different direction in * Hebrew and in English; it might look different when insensitive; * and it might change size depending on toolbar mode (small/large diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 4f26d3b76c..5756cd1619 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -92,8 +92,8 @@ * dialog, returning the response ID corresponding to the button the user * clicked. * - * For the simple dialog in the following example, in reality you'd probably - * use #GtkMessageDialog to save yourself some effort. But you'd need to + * For the simple dialog in the following example, in reality you’d probably + * use #GtkMessageDialog to save yourself some effort. But you’d need to * create the dialog contents manually if you had more than a simple message * in the dialog. * diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 4806a08331..cc1ad3df86 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -729,7 +729,7 @@ typedef enum * @GTK_WINDOW_TOPLEVEL: A regular window, such as a dialog. * @GTK_WINDOW_POPUP: A special window such as a tooltip. * - * A #GtkWindow can be one of these types. Most things you'd consider a + * A #GtkWindow can be one of these types. Most things you’d consider a * “window” should have type #GTK_WINDOW_TOPLEVEL; windows with this type * are managed by the window manager and have a frame by default (call * gtk_window_set_decorated() to toggle the frame). Windows with type diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c index 0e6bcc86e4..176f626716 100644 --- a/gtk/gtklayout.c +++ b/gtk/gtklayout.c @@ -172,7 +172,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkLayout, gtk_layout, GTK_TYPE_CONTAINER, * @vadjustment: (allow-none): vertical scroll adjustment, or %NULL * * Creates a new #GtkLayout. Unless you have a specific adjustment - * you'd like the layout to use for scrolling, pass %NULL for + * you’d like the layout to use for scrolling, pass %NULL for * @hadjustment and @vadjustment. * * Return value: a new #GtkLayout diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index c9798938a3..49bda5d89c 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -1747,7 +1747,7 @@ gtk_text_iter_get_bytes_in_line (const GtkTextIter *iter) * * Computes the effect of any tags applied to this spot in the * text. The @values parameter should be initialized to the default - * settings you wish to use if no tags are in effect. You'd typically + * settings you wish to use if no tags are in effect. You’d typically * obtain the defaults from gtk_text_view_get_default_attributes(). * * gtk_text_iter_get_attributes () will modify @values, applying the diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 18a1659644..ed0c5a0b93 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -7286,7 +7286,7 @@ gtk_text_view_ensure_layout (GtkTextView *text_view) * * Obtains a copy of the default text attributes. These are the * attributes used for text unless a tag overrides them. - * You'd typically pass the default attributes in to + * You’d typically pass the default attributes in to * gtk_text_iter_get_attributes() in order to get the * attributes in effect at a given text position. * diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 593c5e26c8..6a2acb364f 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -10175,7 +10175,7 @@ gtk_widget_get_root_window (GtkWidget *widget) * @direction: direction of focus movement * * This function is used by custom widget implementations; if you're - * writing an app, you'd use gtk_widget_grab_focus() to move the focus + * writing an app, you’d use gtk_widget_grab_focus() to move the focus * to a particular widget, and gtk_container_set_focus_chain() to * change the focus tab order. So you may want to investigate those * functions instead. diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 983d908f82..cb4bde661d 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -2176,7 +2176,7 @@ _gtk_window_internal_set_focus (GtkWindow *window, * (rather than unsetting) the default widget it’s generally easier to * call gtk_widget_grab_focus() on the widget. Before making a widget * the default widget, you must call gtk_widget_set_can_default() on the - * widget you'd like to make the default. + * widget you’d like to make the default. **/ void gtk_window_set_default (GtkWindow *window, -- 2.30.2